package stopthread;

/**
 * 停止不了的线程
 */
public class Demo_01 {
    public static void main(String[] args) {
        try {
            MyThread t = new MyThread();
            t.start();
            Thread.sleep(2000);
            t.interrupt();
        } catch (InterruptedException e) {
            System.out.println("main cath");
            e.printStackTrace();
        }
    }
}
